Model Table SPEND ANALYSIS

This model fact represents Spend Analysis and is based on the IFS Cloud fact view FACT_SPEND_ANALYSIS. All models that refer to this table will have the attributes and hierarchies as described below.

Attributes

Attribute Description (where applicable)
Add CostAdditional cost
Agreement Spend Y/NSpend made using Supplier Agreement Y/N
Ana Curr CodeCommon Analysis Currency Code
Analysis IDAnalysis Scenario ID
DescriptionItem Description
Discount %Discount in percent
Inv Curr CodeInvoice Currency Code
Invoice IDInvoice Number
Invoiced Price/Invoice CurrInvoiced Price in Invoice Currency
Line NoSpend Analysis ID Line number
Order CodeIndicates the type of a purchase order (Normal, Inter-Site, Express or External Service)
Part NoArticle ID
Price UoMPricing Unit of Measure
REP_CURR_NET_AMT_AGREEMENT_SPEND_DOMPricing Unit of Measure
REP_CURR_NET_AMT_SPEND_WITHOUT_REF_DOMPricing Unit of Measure
REP_CURR_NET_AMT_SPEND_WITH_REF_DOMPricing Unit of Measure
Service TypeThe type of an external service. Related to purchase orders of type External Service Orders.
Source Ref 2Source Reference ID 2
Source Ref 1Source Reference ID 1
Source Ref 3Source Reference ID 3
Source Ref 4Source Reference ID 4
Source Ref 5Source Reference ID 5
Source Ref TypeSource Reference Type. I.e. Purchase Order, Manual Invoice etc.
Spend w/o Ref Y/NSpending without a reference like invoice, purchase order etc
Stat GroupStatistical Group ID
Sub Contract Cat 1Sub Contract Category 1 is used for classification and grouping of contracts.
Sub Contract Cat 2Sub Contract Category 2 is used for classification and grouping of contracts.
Sub Contract TypeSub Contract Type is used for classification and grouping of contracts.

Measures

Aggregation of measures is based on SUM if not explicitly noted.

This section describes the basic measures in the cube. These are either measures defined in the core Information Source, in the model itself or in the ETL process. The columns have the following meaning:

Measure Calculated Y/N Contains Time Intelligence Y/N Definition/Note (where applicable) Aggregation Type Hidden Y/N Tabular Expression
Count Agreement SpendNYSumN(SUM('SPEND ANALYSIS'[COUNT_AGREEMENT_SPEND]))
Count Spend With RefNYSumNSUM('SPEND ANALYSIS'[COUNT_SPEND_WITH_REF])
Count Spend Without RefNYSumN SUM('SPEND ANALYSIS'[COUNT_SPEND_WITOUT_REF])
Net Amount SA Agr RCYYReporting Currency calculationSumN SUMX('SPEND ANALYSIS', DIVIDE([REP_CURR_NET_AMT_AGREEMENT_SPEND_DOM],[Currency Rate]))
Net Amount SA Agr/Acc CurrNNSumN SUM('SPEND ANALYSIS'[NET_AMT_AGREEMENT_SPEND_DOM])
Net Amount SA Agr/Ana CurrNYSumN SUM('SPEND ANALYSIS'[NET_AMT_AGREEMENT_SPEND_CURR])
Net Amount SA RCYYReporting Currency calculationSumN SUMX('SPEND ANALYSIS', DIVIDE([REP_CURR_DOM_AMOUNT],[Currency Rate]))
Net Amount SA w Ref RCNYSumN SUMX('SPEND ANALYSIS', DIVIDE([REP_CURR_NET_AMT_SPEND_WITH_REF_DOM],[Currency Rate]))
Net Amount SA w Ref/Acc CurrNNSumN SUM('SPEND ANALYSIS'[NET_AMT_SPEND_WITH_REF_DOM])
Net Amount SA w Ref/Ana CurrNYSumN SUM('SPEND ANALYSIS'[NET_AMT_SPEND_WITH_REF_CURR])
Net Amount SA wo Ref RCYYReporting Currency calculationSumN SUMX('SPEND ANALYSIS', DIVIDE([REP_CURR_NET_AMT_SPEND_WITHOUT_REF_DOM],[Currency Rate]))
Net Amount SA wo Ref/Acc CurrNNSumN SUM('SPEND ANALYSIS'[NET_AMT_SPEND_WITHOUT_REF_DOM])
Net Amount SA wo Ref/Ana CurrNYSumN SUM('SPEND ANALYSIS'[NET_AMT_SPEND_WITHOUT_REF_CURR])
Net Amount SA/Acc CurrNYSumN SUM('SPEND ANALYSIS'[DOM_AMOUNT])
Net Amount SA/Ana CurrNYSumN SUM('SPEND ANALYSIS'[ANALYSIS_CURR_AMOUNT])
Net Amount SA/Inv CurrNNSumN SUM('SPEND ANALYSIS'[CURR_AMOUNT])
No of SuppliersNYSumNDISTINCTCOUNT('SPEND ANALYSIS'[DIM_SUPPLIER_ID])
No of TransactionsNYSumNSUM('SPEND ANALYSIS'[COUNT_SPEND_TRANSACTIONS])
Qty InvoicedNNSumNSUM('SPEND ANALYSIS'[QTY_INVOICED])
Rate Agreement %YY(Net Amount SA Agr/Ana Curr) / Net Amount SA/Ana CurrAverageN DIVIDE([Net Amount SA Agr/Ana Curr],[Net Amount SA/Ana Curr],0)
Rate Agreement Trans %YYCount Agreement Spend / No of TransactionsAverageN DIVIDE([Count Agreement Spend],[No of Transactions],0)
Rate Spend w Ref %YY(Net Amount SA w Ref/Ana Curr) / Net Amount SA/Ana CurrAverageN DIVIDE([Net Amount SA w Ref/Ana Curr],[Net Amount SA/Ana Curr],0)
Rate Spend w/o Ref Trans %YYCount Spend w/o Ref / No of TransactionsAverageN DIVIDE([Count Spend Without Ref],[No of Transactions],0)
Rate Spend with Ref Trans %YYCount Spend with Ref / No of TransactionsAverageN DIVIDE([Count Spend With Ref],[No of Transactions],0)
Rate Spend wo Ref %YY(Net Amount SA wo Ref/Ana Curr) / Net Amount SA/Ana CurrAverageN DIVIDE([Net Amount SA wo Ref/Ana Curr],[Net Amount SA/Ana Curr],0)

Time Intelligence Measures

Time based measures are calculated in the cube with respect to other measures. The table below defines the meaning/definition of  the different time measures. These measures need to be used with a specific time dimension hierarchy [REPORTING_DATE].[RepDateMFHy].

Measure Meaning
YTD Aggregated value for current month in current  year. E.g. for period 202010 Ytd represents sum of periods 202000-202010.
R12 For a given period, the sum all months from one year back up to the previous month. E.g. Rolling 12 for 202010 is the sum of months 201910 - 202009
PY Previous Year
The value of the corresponding month one year back. E.g. for month 202010, the value of month 201910.
YTD PY Year to Date Previous Year
Aggregated value for corresponding month one year back. E.g. for month 202010 YTD Previous Year represents sum of months 201901-201910.
R12 PY Rolling 12 (completed) Months Previous Year
For a given month, first going one year back, then taking the sum of all months from one (more) year back up to the previous month. E.g. for month 202010 the sum of month 201810-201909
Avg XXX Ytd Sum XXX YTD/Count XXX YTD
Avg XXX R12 Sum XXX R12/Count XXX R12
XXX % YTD Count XXX YTD/Count YYY YTD
XXX % R12 Count XXX R12/Count XXX R12

USED BY MODEL(S)

Model Name Product Area
ProcurementSupply Chain

Data source Information

The data source for this object is defined using IFS Developer Tool. The data source contains a number of transformations where the model reads data from the last step, i.e. the Data source view name (DW Source View Name).

Additional information can be found in the IFS cloud documentation of Information Sources.

Model Table DW Source view (SQL Server) BI Access View Referenced Information Source Recommended Access Type
SPEND ANALYSISFACT_SPEND_ANALYSIS_TMFACT_SPEND_ANALYSIS_BIFACT_SPEND_ANALYSISData Mart

SPECIAL INFO

This fact supports Reporting Date, i.e. a time dimension that can be used to when doing cross product/module reporting. This date is also used when finding the currency rate for calculation of reporting currency amounts.